<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta content="IE=edge" http-equiv="X-UA-Compatible">
    <meta content="width=device-width, initial-scale=1.0" name="viewport">
    <title>文件上传和下载</title>
</head>
<body>
<!-- 文件上传表单 -->
<form enctype="multipart/form-data" id="uploadForm">
    <input id="fileInput" name="file" type="file">
    <button type="submit">上传文件</button>
</form>

<!-- 文件下载按钮 -->
<button onclick="downloadFile()">下载文件</button>

<script src="script.js"></script>
</body>
</html>
